package com.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈忠杰
 * @Date: 2021/07/02/下午8:47
 * @Description:
 */

public class UserSearchVO {
    private String login_name;
    private String nikename;
    private String email;
    private String role;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date start_create_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date end_create_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date start_login_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date end_login_date;

    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    public String getNikename() {
        return nikename;
    }

    public void setNikename(String nikename) {
        this.nikename = nikename;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Date getStart_create_date() {
        return start_create_date;
    }

    public void setStart_create_date(Date start_create_date) {
        this.start_create_date = start_create_date;
    }

    public Date getEnd_create_date() {
        return end_create_date;
    }

    public void setEnd_create_date(Date end_create_date) {
        this.end_create_date = end_create_date;
    }

    public Date getStart_login_date() {
        return start_login_date;
    }

    public void setStart_login_date(Date start_login_date) {
        this.start_login_date = start_login_date;
    }

    public Date getEnd_login_date() {
        return end_login_date;
    }

    public void setEnd_login_date(Date end_login_date) {
        this.end_login_date = end_login_date;
    }

    @Override
    public String toString() {
        return "UserSearchVo{" +
                "login_name='" + login_name + '\'' +
                ", nikename='" + nikename + '\'' +
                ", email='" + email + '\'' +
                ", role='" + role + '\'' +
                ", start_create_date=" + start_create_date +
                ", end_create_date=" + end_create_date +
                ", start_login_date=" + start_login_date +
                ", end_login_date=" + end_login_date +
                '}';
    }
}
